PEGetGroupSelectionFormula

Use PEGetGroupSelectionFormula to retrieve the string handle for the group selection formula used in the specified report. This function is used with PEGetHandleString. Use PESetGroupSelectionFormula, to pass back a formula. This series can be used in a Custom-Print Link to identify and then change an existing group selection formula in response to a user selection at print time.

C Syntax
BOOL CRPE_API PEGetGroupSelectionFormula (
        short printJob,
        HANDLE FAR *textHandle,
        short FAR *textLength );
Parameters

printJob

Specifies the print job for which you want to retrieve the group selection formula string.

textHandle

Specifies a pointer to the handle of the string containing the formula text.

textLength

Specifies a pointer to the length of the formula string (in bytes) including the terminating byte.

Returns
VB Syntax
Declare Function PEGetGroupSelectionFormula Lib "crpe32.dll" (ByVal 
printJob As Integer, TextHandle As Long, TextLength As Integer) As 
Integer
Delphi Syntax
function PEGetGroupSelectionFormula (
    printJob: Word;
    var textHandle: HWnd;
    var textLength: Word
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com